home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15238 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.accent.net!news
  2. From: dallaire@megatoon.com (Guy Dallaire)
  3. Newsgroups: comp.unix.programmer,comp.lang.c,comp.unix.internals
  4. Subject: Re: C compiler Error on EXEC SQL
  5. Date: Thu, 18 Apr 1996 01:10:16 GMT
  6. Organization: Accent Internet
  7. Message-ID: <4l450j$g60@news.accent.net>
  8. References: <4kkej2$3ta@news.cc.utah.edu>
  9. NNTP-Posting-Host: 205.205.31.94
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. dpncc@utah.state.ut.us (NCC Network) wrote:
  13.  
  14.  
  15. >Hi
  16.  
  17. >I post this for my friend who has no access to the internet and would like to
  18. >get help from C experts in the Net. She has a C program left over from a guy
  19. >left the company. The C source code is included below as well as the compiler
  20. >error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't seem
  21. >to be a standard C. 
  22.  
  23. That program is in effect an informix EDA/SQL or Oracle PRO*C program.
  24. It cannot be directly compiled by 'cc'. It must be preprocessed by a
  25. database vendor Pre-Compiler which will transform the EXEC SQL etc.
  26. sentences into C calls. Look in your system for a makefile with an
  27. '.ec' target in it...
  28.  
  29.                 Good Luck
  30. Guy Dallaire
  31. Groupe DMR Inc.
  32. dallaire@megatoon.com
  33.  
  34. P.S. My opinions are my own and do not reflect those of my employer
  35.  
  36.